Getting Started with WebRTC by Unknown

Getting Started with WebRTC by Unknown

Author:Unknown
Format: epub


Adding text-based chat to our video chat app

In the previous chapter, we explored how you could simplify your video chat application for when you want to offer "audio only" calls. Now, let's see how easy it is to extend our original video chat application so that the two users can also chat by typing messages and they can share web links and notes, as they interact through the video interface.

The HTML user interface for text-based chat

First, let's look at how the HTML-based web page will need to be modified. As usual, we start with a standard HTML5 web page that includes a DOCTYPE definition, a document head, and a document body.

<!DOCTYPE html> <html> <head> … </head> <body> … </body> </html>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.